IMath<T> Interface Methods
For a list of all members of this type, see IMath<T> members.
Public Methods
Name | Description | |
---|---|---|
Abs | Get the Absolute value of (a) | |
Add | Adds lhs + rhs. for DateTime it returns a new DateTime with .Ticks = lhs.Ticks + rhs.Ticks | |
Dec | Returns T-- for DateTime it decrements .Ticks | |
Div | Divides lhs / rhs | |
FromDouble | Converts a Double value to type | |
Inc | Returns T++ for DateTime it increments .Ticks | |
IsNaN | Returns if T is NaN. Only valid for Float, Double types. For all other types, always returns false | |
Max | Returns the Max of A and B | |
Min | Returns the Min of A and B | |
MinGreaterThan | Returns the Min of A and B greater than a Floor | |
Mult | Overloaded. Multiplies lhs * rhs | |
Subtract | Subtracts a - b. For DateTime it returns a new DateTime with .Ticks = a.Ticks - b.Ticks | |
ToDouble | Converts to the equivalent value as a double |
See Also